package com.gzy.net_app.bean;

import java.util.List;

/**
 * @author : guzy
 * @program: net-app
 * @description: 人脸实体类
 * @date : 2022-03-26 18:07
 **/
public class FaceBean {

  private ResultBean result;
  private long log_id;
  private String error_msg;
  private int cached;
  private int error_code;
  private int timestamp;

  public ResultBean getResult() { return result;}

  public void setResult(ResultBean result) { this.result = result;}

  public long getLog_id() { return log_id;}

  public void setLog_id(long log_id) { this.log_id = log_id;}

  public String getError_msg() { return error_msg;}

  public void setError_msg(String error_msg) { this.error_msg = error_msg;}

  public int getCached() { return cached;}

  public void setCached(int cached) { this.cached = cached;}

  public int getError_code() { return error_code;}

  public void setError_code(int error_code) { this.error_code = error_code;}

  public int getTimestamp() { return timestamp;}

  public void setTimestamp(int timestamp) { this.timestamp = timestamp;}

  public  class ResultBean {
    private int face_num;
    private List<FaceListBean> face_list;

    public int getFace_num() { return face_num;}

    public void setFace_num(int face_num) { this.face_num = face_num;}

    public List<FaceListBean> getFace_list() { return face_list;}

    public void setFace_list(List<FaceListBean> face_list) { this.face_list = face_list;}

    public  class FaceListBean {
      private ExpressionBean expression;
      private FaceShapeBean face_shape;
      private double beauty;
      private GenderBean gender;
      private EyeStatusBean eye_status;
      private double face_probability;
      private QualityBean quality;
      private GlassesBean glasses;
      private EmotionBean emotion;
      private List<Landmark72Bean> landmark72;
      private FaceTypeBean face_type;
      private AngleBean angle;
      private String face_token;
      private LocationBean location;
      private List<LandmarkBean> landmark;
      private double age;

      public ExpressionBean getExpression() { return expression;}

      public void setExpression(ExpressionBean expression) { this.expression = expression;}

      public FaceShapeBean getFace_shape() { return face_shape;}

      public void setFace_shape(FaceShapeBean face_shape) { this.face_shape = face_shape;}

      public double getBeauty() { return beauty;}

      public void setBeauty(double beauty) { this.beauty = beauty;}

      public GenderBean getGender() { return gender;}

      public void setGender(GenderBean gender) { this.gender = gender;}

      public EyeStatusBean getEye_status() { return eye_status;}

      public void setEye_status(EyeStatusBean eye_status) { this.eye_status = eye_status;}

      public double getFace_probability() { return face_probability;}

      public void setFace_probability(double face_probability) { this.face_probability = face_probability;}

      public QualityBean getQuality() { return quality;}

      public void setQuality(QualityBean quality) { this.quality = quality;}

      public GlassesBean getGlasses() { return glasses;}

      public void setGlasses(GlassesBean glasses) { this.glasses = glasses;}

      public EmotionBean getEmotion() { return emotion;}

      public void setEmotion(EmotionBean emotion) { this.emotion = emotion;}

      public List<Landmark72Bean> getLandmark72() { return landmark72;}

      public void setLandmark72(List<Landmark72Bean> landmark72) { this.landmark72 = landmark72;}

      public FaceTypeBean getFace_type() { return face_type;}

      public void setFace_type(FaceTypeBean face_type) { this.face_type = face_type;}

      public AngleBean getAngle() { return angle;}

      public void setAngle(AngleBean angle) { this.angle = angle;}

      public String getFace_token() { return face_token;}

      public void setFace_token(String face_token) { this.face_token = face_token;}

      public LocationBean getLocation() { return location;}

      public void setLocation(LocationBean location) { this.location = location;}

      public List<LandmarkBean> getLandmark() { return landmark;}

      public void setLandmark(List<LandmarkBean> landmark) { this.landmark = landmark;}

      public double getAge() { return age;}

      public void setAge(double age) { this.age = age;}

      public  class ExpressionBean {
        private double probability;
        private String type;

        public double getProbability() { return probability;}

        public void setProbability(double probability) { this.probability = probability;}

        public String getType() { return type;}

        public void setType(String type) { this.type = type;}
      }

      public  class FaceShapeBean {
        private double probability;
        private String type;

        public double getProbability() { return probability;}

        public void setProbability(double probability) { this.probability = probability;}

        public String getType() { return type;}

        public void setType(String type) { this.type = type;}
      }

      public  class GenderBean {
        private double probability;
        private String type;

        public double getProbability() { return probability;}

        public void setProbability(double probability) { this.probability = probability;}

        public String getType() { return type;}

        public void setType(String type) { this.type = type;}
      }

      public  class EyeStatusBean {
        private double right_eye;
        private double left_eye;

        public double getRight_eye() { return right_eye;}

        public void setRight_eye(double right_eye) { this.right_eye = right_eye;}

        public double getLeft_eye() { return left_eye;}

        public void setLeft_eye(double left_eye) { this.left_eye = left_eye;}
      }

      public  class QualityBean {
        private double illumination;
        private OcclusionBean occlusion;
        private double blur;
        private double completeness;

        public double getIllumination() { return illumination;}

        public void setIllumination(double illumination) { this.illumination = illumination;}

        public OcclusionBean getOcclusion() { return occlusion;}

        public void setOcclusion(OcclusionBean occlusion) { this.occlusion = occlusion;}

        public double getBlur() { return blur;}

        public void setBlur(double blur) { this.blur = blur;}

        public double getCompleteness() { return completeness;}

        public void setCompleteness(double completeness) { this.completeness = completeness;}

        public  class OcclusionBean {
          private double right_eye;
          private double nose;
          private double mouth;
          private double left_eye;
          private double left_cheek;
          private double chin_contour;
          private double right_cheek;

          public double getRight_eye() { return right_eye;}

          public void setRight_eye(double right_eye) { this.right_eye = right_eye;}

          public double getNose() { return nose;}

          public void setNose(double nose) { this.nose = nose;}

          public double getMouth() { return mouth;}

          public void setMouth(double mouth) { this.mouth = mouth;}

          public double getLeft_eye() { return left_eye;}

          public void setLeft_eye(double left_eye) { this.left_eye = left_eye;}

          public double getLeft_cheek() { return left_cheek;}

          public void setLeft_cheek(double left_cheek) { this.left_cheek = left_cheek;}

          public double getChin_contour() { return chin_contour;}

          public void setChin_contour(double chin_contour) { this.chin_contour = chin_contour;}

          public double getRight_cheek() { return right_cheek;}

          public void setRight_cheek(double right_cheek) { this.right_cheek = right_cheek;}
        }
      }

      public  class GlassesBean {
        private double probability;
        private String type;

        public double getProbability() { return probability;}

        public void setProbability(double probability) { this.probability = probability;}

        public String getType() { return type;}

        public void setType(String type) { this.type = type;}
      }

      public  class EmotionBean {
        private double probability;
        private String type;

        public double getProbability() { return probability;}

        public void setProbability(double probability) { this.probability = probability;}

        public String getType() { return type;}

        public void setType(String type) { this.type = type;}
      }

      public  class FaceTypeBean {
        private double probability;
        private String type;

        public double getProbability() { return probability;}

        public void setProbability(double probability) { this.probability = probability;}

        public String getType() { return type;}

        public void setType(String type) { this.type = type;}
      }

      public  class AngleBean {
        private double roll;
        private double pitch;
        private double yaw;

        public double getRoll() { return roll;}

        public void setRoll(double roll) { this.roll = roll;}

        public double getPitch() { return pitch;}

        public void setPitch(double pitch) { this.pitch = pitch;}

        public double getYaw() { return yaw;}

        public void setYaw(double yaw) { this.yaw = yaw;}
      }

      public  class LocationBean {
        private double top;
        private double left;
        private double rotation;
        private double width;
        private double height;

        public double getTop() { return top;}

        public void setTop(double top) { this.top = top;}

        public double getLeft() { return left;}

        public void setLeft(double left) { this.left = left;}

        public double getRotation() { return rotation;}

        public void setRotation(double rotation) { this.rotation = rotation;}

        public double getWidth() { return width;}

        public void setWidth(double width) { this.width = width;}

        public double getHeight() { return height;}

        public void setHeight(double height) { this.height = height;}
      }

      public  class Landmark72Bean {
        private double x;
        private double y;

        public double getX() { return x;}

        public void setX(double x) { this.x = x;}

        public double getY() { return y;}

        public void setY(double y) { this.y = y;}
      }

      public  class LandmarkBean {
        private double x;
        private double y;

        public double getX() { return x;}

        public void setX(double x) { this.x = x;}

        public double getY() { return y;}

        public void setY(double y) { this.y = y;}
      }
    }

    @Override public String toString() {
      return "ResultBean{" +
          "face_num=" + face_num +
          ", face_list=" + face_list +
          '}';
    }
  }
}
